.class public Lcom/xingbook/ecloud/activity/EcloudInviteAct;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Lcom/xingbook/ecloud/e/g;


# instance fields
.field private a:Lcom/xingbook/ecloud/b/f;

.field private b:Lcom/xingbook/ecloud/activity/t;

.field private c:Landroid/app/ProgressDialog;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    iput-object v1, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->a:Lcom/xingbook/ecloud/b/f;

    new-instance v0, Lcom/xingbook/ecloud/activity/t;

    invoke-direct {v0, p0}, Lcom/xingbook/ecloud/activity/t;-><init>(Lcom/xingbook/ecloud/activity/EcloudInviteAct;)V

    iput-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->b:Lcom/xingbook/ecloud/activity/t;

    iput-object v1, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ecloud/activity/EcloudInviteAct;)Lcom/xingbook/ecloud/b/f;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->a:Lcom/xingbook/ecloud/b/f;

    return-object v0
.end method

.method static synthetic a(Lcom/xingbook/ecloud/activity/EcloudInviteAct;Lcom/xingbook/ecloud/b/f;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->a:Lcom/xingbook/ecloud/b/f;

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ecloud/activity/EcloudInviteAct;)Lcom/xingbook/ecloud/activity/t;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->b:Lcom/xingbook/ecloud/activity/t;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->b:Lcom/xingbook/ecloud/activity/t;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/ecloud/activity/t;->sendEmptyMessage(I)Z

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/ecloud/activity/s;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/ecloud/activity/s;-><init>(Lcom/xingbook/ecloud/activity/EcloudInviteAct;Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCanceledOnTouchOutside(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->c:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u6559\u80b2\u4e91-\u9080\u8bf7\u7801\u6fc0\u6d3b"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 7

    const/4 v6, -0x1

    invoke-virtual {p0}, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const v2, -0xa0a0b

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    invoke-virtual {p0, v1}, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->setContentView(Landroid/view/View;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v2

    new-instance v3, Lcom/xingbook/ui/t;

    const/4 v4, 0x0

    invoke-direct {v3, p0, v4}, Lcom/xingbook/ui/t;-><init>(Landroid/app/Activity;Lcom/xingbook/ui/x;)V

    const-string v4, "\u661f\u5b9d\u6545\u4e8b\u8bfe\u5802"

    iput-object v4, v3, Lcom/xingbook/ui/t;->c:Ljava/lang/String;

    const v4, -0x33ffec

    invoke-virtual {v3, v4}, Lcom/xingbook/ui/t;->setBackgroundColor(I)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    sget v5, Lcom/xingbook/ui/t;->b:I

    invoke-direct {v4, v2, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v4}, Lcom/xingbook/ui/t;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v1, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Lcom/xingbook/ecloud/e/e;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v3

    invoke-direct {v2, v0, p0, v3}, Lcom/xingbook/ecloud/e/e;-><init>(Landroid/content/Context;Lcom/xingbook/ecloud/e/g;F)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v6, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    sget v3, Lcom/xingbook/ui/t;->b:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    invoke-virtual {v2, v0}, Lcom/xingbook/ecloud/e/e;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/ecloud/activity/r;

    invoke-direct {v0, p0}, Lcom/xingbook/ecloud/activity/r;-><init>(Lcom/xingbook/ecloud/activity/EcloudInviteAct;)V

    invoke-virtual {v2, v0}, Lcom/xingbook/ecloud/e/e;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    return-void
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/ecloud/activity/EcloudInviteAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method
